#include<stdio.h>
int main()
{
	FILE *pf = fopen("E:\\CodeMan\\Fortest\\example.txt", "r");
	char buffer[100];
	if(pf != NULL)
	{
		while(fgets(buffer, 100, pf) != NULL)
		{
			printf("%s", buffer);
		}
		fclose(pf);
	}
	else
	{
		perror("fopen");
	}
	
	return 0;
}
